#version 330 core

in vec2 position;
out vec2 a_Position;

uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;

void main() {
    gl_Position = proj * view * model * vec4(position, 0.0, 1.0);
    a_Position = gl_Position.xy;
}